<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../script/vue.js"></script>
</head>
<body>
    <div id="app">
        <input type="text" v-model="message">
        {{message}}
        <!-- {{message}} //插值表达式 -->
    </div>
</body>
<script>
    new Vue({
        el : "#app" ,//vue接管区域
        data :{
            message : "Hello Vue", //末尾用，号
            name : "lip",
            //可定义为json格式
            addr : [{
                "school":"beida",
                "city" : "beiji",
            },
            {
                "school":"ksinghua",
                "city" : "shanghjao",
            }
            ]
        }
    })
</script>
</html>